import axios from "../axios/index"
export const updateUser = (id, account, contact, password, type, username,level) => {
    return axios({
        method: 'PUT',
        url: "/user/updateUser",
        //headers: { "content-Type": "application/json" },
        data:
        {
            id: id,
            account: account,
            contact: contact,
            password: password,
            type: type,
            username: username,
            level:level
        }

        ,

    })
}
